function getnum(num){
    num = String(num);
    let rt = '';
let numarr = [...num];
let hzarr = ['','一','二','三','四','五','六','七','八','九'];
if(num.length == 1){
    numarr.forEach(item=>{
        rt += hzarr[item]
    })
}else{

    numarr.forEach((item,index)=>{
        if(index == numarr.length-1){
            rt += hzarr[item];
        }else{
            if(item == 1){
                rt += '十'
            }else {
                rt += hzarr[item]+'十'
            }
        }
    })

}
return rt
}
export {
    getnum
}
